package org.jvending.provisioning.stocking.par.impl;

public class UserDescriptionsTypeDriver implements org.apache.ws.jaxme.impl.JMSAXDriver {
  public org.xml.sax.helpers.AttributesImpl getAttributes(org.apache.ws.jaxme.impl.JMSAXDriverController pController, java.lang.Object pObject) throws org.xml.sax.SAXException {
    org.xml.sax.helpers.AttributesImpl _1 = new org.xml.sax.helpers.AttributesImpl();
    return _1;
  }

  public java.lang.String getPreferredPrefix(java.lang.String pURI) {
    if (pURI == null) {
      pURI = "";
    }
    if (pURI.equals("http://java.sun.com/xml/ns/j2ee-cp")) {
      return "j2ee-cp";
    }
    return null;
  }

  public void marshalChilds(org.apache.ws.jaxme.impl.JMSAXDriverController pController, org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXException {
    org.jvending.provisioning.stocking.par.UserDescriptionsType _1 = (org.jvending.provisioning.stocking.par.UserDescriptionsType) pObject;
    java.util.List _2 = _1.getDisplayName();
    for (int _3 = 0;  _3 < (_2).size();  _3++) {
      org.apache.ws.jaxme.impl.JMSAXDriver _4 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(org.jvending.provisioning.stocking.par.DisplayName.class).getDriver();
      pController.marshal(_4, "http://java.sun.com/xml/ns/j2ee-cp", "display-name", (org.jvending.provisioning.stocking.par.DisplayNameType)_2.get(_3));
    }
    java.util.List _5 = _1.getDescription();
    for (int _6 = 0;  _6 < (_5).size();  _6++) {
      org.apache.ws.jaxme.impl.JMSAXDriver _7 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(org.jvending.provisioning.stocking.par.Description.class).getDriver();
      pController.marshal(_7, "http://java.sun.com/xml/ns/j2ee-cp", "description", (org.jvending.provisioning.stocking.par.DescriptionType)_5.get(_6));
    }
    java.util.List _8 = _1.getIcon();
    for (int _9 = 0;  _9 < (_8).size();  _9++) {
      org.apache.ws.jaxme.impl.JMSAXDriver _10 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(org.jvending.provisioning.stocking.par.Icon.class).getDriver();
      pController.marshal(_10, "http://java.sun.com/xml/ns/j2ee-cp", "icon", (org.jvending.provisioning.stocking.par.IconType)_8.get(_9));
    }
  }

}
